package com.yueke.gemini.wxpublicapi.accesstoken;

/**
 * 定义一个Access_Token类存储accessToken的信息
 * Created by admin on 2017/5/15.
 */
public class AccessToken {
    private String access_token; //获取到的access_token
    private long  expires_in; //有效时间（两个小时，7200s） access_token有效时间，单位为妙

    public AccessToken() {}
    public AccessToken(String access_token,long expires_in){
        this.access_token = access_token;
        this.expires_in = expires_in;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public long getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(long expires_in) {
        this.expires_in = expires_in;
    }

}
